[INFO] fetching crate dev 0.1.0...
[INFO] checking dev-0.1.0 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate dev 0.1.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate dev 0.1.0 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dev 0.1.0
[INFO] finished tweaking crates.io crate dev 0.1.0
[INFO] tweaked toml for crates.io crate dev 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 962f97e5622712a3fe386679617deeed42e6f4fb399946e34cb4614140785c27
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "962f97e5622712a3fe386679617deeed42e6f4fb399946e34cb4614140785c27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "962f97e5622712a3fe386679617deeed42e6f4fb399946e34cb4614140785c27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "962f97e5622712a3fe386679617deeed42e6f4fb399946e34cb4614140785c27", kill_on_drop: false }`
[INFO] [stdout] 962f97e5622712a3fe386679617deeed42e6f4fb399946e34cb4614140785c27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 044f0c798a8e7bdd87457e0ed4282f77c46a6f24c06b9bb5e6bebe23ae7012e4
[INFO] running `Command { std: "docker" "start" "-a" "044f0c798a8e7bdd87457e0ed4282f77c46a6f24c06b9bb5e6bebe23ae7012e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking err v0.0.8
[INFO] [stderr]     Checking dev v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find macro `ioctl` in this scope
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | ioctl!{bad blkgetsize64 with ior!(0x12, 114, mem::size_of::<size_t>()) }
[INFO] [stdout]    | ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ioctl` in this scope
[INFO] [stdout]   --> src/lib.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | ioctl!{none blkpbszget with 0x12, 123}
[INFO] [stdout]    | ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ioctl` in this scope
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | ioctl!{bad blkgetsize64 with ior!(0x12, 114, mem::size_of::<size_t>()) }
[INFO] [stdout]    | ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ioctl` in this scope
[INFO] [stdout]   --> src/lib.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | ioctl!{none blkpbszget with 0x12, 123}
[INFO] [stdout]    | ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blkgetsize64` in this scope
[INFO] [stdout]   --> src/lib.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(nix_to_io(blkgetsize64(fd.as_raw_fd(), mem::transmute(&mut r))));
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blkpbszget` in this scope
[INFO] [stdout]   --> src/lib.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |         nix_to_io(blkpbszget(fd.as_raw_fd()))
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(nix_to_io(blkgetsize64(fd.as_raw_fd(), mem::transmute(&mut r))));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let dirs = try!(fs::read_dir(net));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let net_dev = try!(net_dev_res);
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut f = try!(fs::File::open(p));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         try!(f.read_to_end(&mut v));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |         Ok(try!(std::str::from_utf8(&v[..v.len()-1])).to_owned())
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | /// Size in bytes
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `size_t`
[INFO] [stdout]   --> src/lib.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | use libc::{size_t, c_int};
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn blockdev_size(fd: &AsRawFd) -> io::Result<u64> {
[INFO] [stdout]    |                           ^^^^^^^ help: use `dyn`: `dyn AsRawFd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:44:38
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn blockdev_phys_block_size(fd: &AsRawFd) -> io::Result<c_int> {
[INFO] [stdout]    |                                      ^^^^^^^ help: use `dyn`: `dyn AsRawFd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | / macro_rules! try_or {
[INFO] [stdout] 58 | |     ($try:expr, $or:expr) => (
[INFO] [stdout] 59 | |         let t = $try;
[INFO] [stdout] 60 | |         match t {
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |     )
[INFO] [stdout] 65 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blkgetsize64` in this scope
[INFO] [stdout]   --> src/lib.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(nix_to_io(blkgetsize64(fd.as_raw_fd(), mem::transmute(&mut r))));
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blkpbszget` in this scope
[INFO] [stdout]   --> src/lib.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |         nix_to_io(blkpbszget(fd.as_raw_fd()))
[INFO] [stdout]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(nix_to_io(blkgetsize64(fd.as_raw_fd(), mem::transmute(&mut r))));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let dirs = try!(fs::read_dir(net));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let net_dev = try!(net_dev_res);
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut f = try!(fs::File::open(p));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         try!(f.read_to_end(&mut v));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |         Ok(try!(std::str::from_utf8(&v[..v.len()-1])).to_owned())
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | /// Size in bytes
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `size_t`
[INFO] [stdout]   --> src/lib.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | use libc::{size_t, c_int};
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn blockdev_size(fd: &AsRawFd) -> io::Result<u64> {
[INFO] [stdout]    |                           ^^^^^^^ help: use `dyn`: `dyn AsRawFd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:44:38
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn blockdev_phys_block_size(fd: &AsRawFd) -> io::Result<c_int> {
[INFO] [stdout]    |                                      ^^^^^^^ help: use `dyn`: `dyn AsRawFd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]   --> src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | / macro_rules! try_or {
[INFO] [stdout] 58 | |     ($try:expr, $or:expr) => (
[INFO] [stdout] 59 | |         let t = $try;
[INFO] [stdout] 60 | |         match t {
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |     )
[INFO] [stdout] 65 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dev`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "044f0c798a8e7bdd87457e0ed4282f77c46a6f24c06b9bb5e6bebe23ae7012e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "044f0c798a8e7bdd87457e0ed4282f77c46a6f24c06b9bb5e6bebe23ae7012e4", kill_on_drop: false }`
[INFO] [stdout] 044f0c798a8e7bdd87457e0ed4282f77c46a6f24c06b9bb5e6bebe23ae7012e4
